package com.xq.jltx.frescosimple.fragment;

import android.os.Bundle;

/**
 * @author jltxseo
 *         Created by junlintianxia on 2016年02月02日.
 */

public interface BackHandledInterface {
    /**
     * 关联Fragment和Activity
     * @param selectedFragment
     */
    void setSelectedFragment(BackHandledFragment selectedFragment);

    /**
     * 为了Fragment回调数据回给Activity
     * @param requestCode
     * @param bundle
     */
    void onBackResultFromFragment(int requestCode, Bundle bundle);
}
